<?php
namespace app\api\validate;
use think\Validate;
/**
 * 
 * @author sj
 * 用户详细信息校验器
 *
 */
class Userinfo extends Validate{
    protected $rule =
    [
        'pwd'=>'require',
        'newpwd'=>'require',
        'qpwd'=>'require'
    ];
    protected $message  =
    [
        'pwd.require'=>'旧密码不能为空',
        'newpwd.require'=>'新密码不能为空',
         'qpwd.require'=>'确认密码不能为空'
    ];
}